package com.baomidou.springwind.service;

import com.baomidou.mybatisplus.service.IService;
import com.baomidou.springwind.entity.PubFile;
import com.baomidou.springwind.entity.Resource;
import com.baomidou.springwind.enums.ResourceEnum;

/**
 * Resource 表数据服务层接口
 */
public interface ResourceService extends IService<Resource> {

    /**
     * 获取资源信息
     *
     * @param batchId 批次号
     * @param resEnum 资源类型
     * @return
     */
    Resource getResource(Long batchId, ResourceEnum resEnum);

    Long selectCompanyPersonCount(Long batchId);

}